package Day3_2student;

public class Student {
    private  String idNumber;//学号
    private  String name;//姓名
    private int age;//年龄
    private String phoneNumber;//学生手机号

    public Student(String idNumber, String name, int age, String phoneNumber) {
        this.idNumber = idNumber;
        this.name = name;
        this.age = age;
        this.phoneNumber = phoneNumber;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
